package com.bootdo.shop.service;

import com.bootdo.shop.domain.ProductDO;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 * 
 * @author yhg
 * @email 1992lcg@163.com
 * @date 2017-12-14 17:24:57
 */
public interface ProductService {
	
	ProductDO get(Long productId);
	
	List<ProductDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProductDO product);
	
	int update(ProductDO product);
	
	int remove(Long productId);
	
	int batchRemove(Long[] productIds);
	
	/***热门商品列表*/
	List<ProductDO> hotProductList();
}
